/
Activity`1.xml
306 lines (294 loc) · 20.5 KB
/
Activity`1.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
<Type Name="Activity<TResult>" FullName="System.Activities.Activity<TResult>">
<TypeSignature Language="C#" Value="public abstract class Activity<TResult> : System.Activities.ActivityWithResult" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi abstract beforefieldinit Activity`1<TResult> extends System.Activities.ActivityWithResult" />
<TypeSignature Language="DocId" Value="T:System.Activities.Activity`1" />
<TypeSignature Language="VB.NET" Value="Public MustInherit Class Activity(Of TResult)
Inherits ActivityWithResult" />
<TypeSignature Language="F#" Value="type Activity<'Result> = class
 inherit ActivityWithResult" />
<TypeSignature Language="C++ CLI" Value="generic <typename TResult>
public ref class Activity abstract : System::Activities::ActivityWithResult" />
<AssemblyInfo>
<AssemblyName>System.Activities</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<TypeParameters>
<TypeParameter Name="TResult" />
</TypeParameters>
<Base>
<BaseTypeName>System.Activities.ActivityWithResult</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.TypeConverter(typeof(System.Activities.XamlIntegration.ActivityWithResultConverter))]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.TypeConverter(typeof(System.Activities.XamlIntegration.ActivityWithResultConverter))>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Windows.Markup.ValueSerializer(typeof(System.Activities.XamlIntegration.ActivityWithResultValueSerializer))]</AttributeName>
<AttributeName Language="F#">[<System.Windows.Markup.ValueSerializer(typeof(System.Activities.XamlIntegration.ActivityWithResultValueSerializer))>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<typeparam name="TResult">The type of the return value of the activity.</typeparam>
<summary>An abstract base class used to create composite activities from pre-existing <see cref="T:System.Activities.Activity" /> objects, which specifies a result type using the activity's type specifier.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
<xref:System.Activities.Activity%601> is the base class in the activity type hierarchy. All other activity types with generic type definitions such as <xref:System.Activities.CodeActivity%601>, <xref:System.Activities.NativeActivity%601>, <xref:System.Activities.AsyncCodeActivity%601>, and <xref:System.Activities.DynamicActivity%601> derive from this class.
## Examples
The following example shows how to derive a class from <xref:System.Activities.Activity%601>.
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/helloworld/cs/appendstring.cs" id="Snippet0":::
]]></format>
</remarks>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected Activity ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Activities.Activity`1.#ctor" />
<MemberSignature Language="VB.NET" Value="Protected Sub New ()" />
<MemberSignature Language="C++ CLI" Value="protected:
 Activity();" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.Activities</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
</Attributes>
<Parameters />
<Docs>
<summary>When implemented in a derived class, creates a new instance of the derived class.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="FromValue">
<MemberSignature Language="C#" Value="public static System.Activities.Activity<TResult> FromValue (TResult constValue);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Activities.Activity`1<!TResult> FromValue(!TResult constValue) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Activities.Activity`1.FromValue(`0)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function FromValue (constValue As TResult) As Activity(Of TResult)" />
<MemberSignature Language="F#" Value="static member FromValue : 'Result -> System.Activities.Activity<'Result>" Usage="System.Activities.Activity<'Result>.FromValue constValue" />
<MemberSignature Language="C++ CLI" Value="public:
 static System::Activities::Activity<TResult> ^ FromValue(TResult constValue);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Activities</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Activities.Activity<TResult></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="constValue" Type="TResult" />
</Parameters>
<Docs>
<param name="constValue">The value used to create the <see cref="T:System.Activities.Activity`1" /> expression.</param>
<summary>Returns a <see cref="T:System.Activities.Activity`1" /> expression that evaluates to the given value.</summary>
<returns>A workflow expression that evaluates to the given value.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<MemberGroup MemberName="FromVariable">
<AssemblyInfo>
<AssemblyName>System.Activities</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Docs>
<summary>Returns a <see cref="T:System.Activities.Activity`1" /> expression that evaluates to a <see cref="T:System.Activities.Variable" />.</summary>
</Docs>
</MemberGroup>
<Member MemberName="FromVariable">
<MemberSignature Language="C#" Value="public static System.Activities.Activity<TResult> FromVariable (System.Activities.Variable variable);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Activities.Activity`1<!TResult> FromVariable(class System.Activities.Variable variable) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Activities.Activity`1.FromVariable(System.Activities.Variable)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function FromVariable (variable As Variable) As Activity(Of TResult)" />
<MemberSignature Language="F#" Value="static member FromVariable : System.Activities.Variable -> System.Activities.Activity<'Result>" Usage="System.Activities.Activity<'Result>.FromVariable variable" />
<MemberSignature Language="C++ CLI" Value="public:
 static System::Activities::Activity<TResult> ^ FromVariable(System::Activities::Variable ^ variable);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Activities</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Activities.Activity<TResult></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="variable" Type="System.Activities.Variable" />
</Parameters>
<Docs>
<param name="variable">The value for the expression.</param>
<summary>Returns a <see cref="T:System.Activities.Activity`1" /> expression that evaluates to the given <see cref="T:System.Activities.Variable" />.</summary>
<returns>A workflow expression that evaluates to the given variable.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
If the type of the <xref:System.Activities.Variable> is not compatible with the type of the <xref:System.Activities.Activity%601>, then an <xref:System.ArgumentException> is thrown.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="FromVariable">
<MemberSignature Language="C#" Value="public static System.Activities.Activity<TResult> FromVariable (System.Activities.Variable<TResult> variable);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Activities.Activity`1<!TResult> FromVariable(class System.Activities.Variable`1<!TResult> variable) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Activities.Activity`1.FromVariable(System.Activities.Variable{`0})" />
<MemberSignature Language="VB.NET" Value="Public Shared Function FromVariable (variable As Variable(Of TResult)) As Activity(Of TResult)" />
<MemberSignature Language="F#" Value="static member FromVariable : System.Activities.Variable<'Result> -> System.Activities.Activity<'Result>" Usage="System.Activities.Activity<'Result>.FromVariable variable" />
<MemberSignature Language="C++ CLI" Value="public:
 static System::Activities::Activity<TResult> ^ FromVariable(System::Activities::Variable<TResult> ^ variable);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Activities</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Activities.Activity<TResult></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="variable" Type="System.Activities.Variable<TResult>" />
</Parameters>
<Docs>
<param name="variable">The value for the expression.</param>
<summary>Returns a <see cref="T:System.Activities.Activity`1" /> expression that evaluates to the given <see cref="T:System.Activities.Variable`1" />.</summary>
<returns>A workflow expression that evaluates to the given variable.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="op_Implicit">
<MemberSignature Language="C#" Value="public static implicit operator System.Activities.Activity<TResult> (System.Activities.Variable variable);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig specialname class System.Activities.Activity`1<!TResult> op_Implicit(class System.Activities.Variable variable) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Activities.Activity`1.op_Implicit(System.Activities.Variable)~System.Activities.Activity{`0}" />
<MemberSignature Language="VB.NET" Value="Public Shared Widening Operator CType (variable As Variable) As Activity(Of TResult)" />
<MemberSignature Language="F#" Value="static member op_Implicit : System.Activities.Variable -> System.Activities.Activity<'Result>" Usage="System.Activities.Activity<'Result>.op_Implicit variable" />
<MemberSignature Language="C++ CLI" Value="public:
 static operator System::Activities::Activity<TResult> ^(System::Activities::Variable ^ variable);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Activities</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Activities.Activity<TResult></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="variable" Type="System.Activities.Variable" />
</Parameters>
<Docs>
<param name="variable">The value for the expression.</param>
<summary>Returns a <see cref="T:System.Activities.Activity`1" /> expression that evaluates to the given <see cref="T:System.Activities.Variable" />.</summary>
<returns>A workflow expression that evaluates to the given variable.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
If the type of the <xref:System.Activities.Variable> is not compatible with the type of the <xref:System.Activities.Activity%601>, then an <xref:System.ArgumentException> is thrown.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="op_Implicit">
<MemberSignature Language="C#" Value="public static implicit operator System.Activities.Activity<TResult> (System.Activities.Variable<TResult> variable);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig specialname class System.Activities.Activity`1<!TResult> op_Implicit(class System.Activities.Variable`1<!TResult> variable) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Activities.Activity`1.op_Implicit(System.Activities.Variable{`0})~System.Activities.Activity{`0}" />
<MemberSignature Language="VB.NET" Value="Public Shared Widening Operator CType (variable As Variable(Of TResult)) As Activity(Of TResult)" />
<MemberSignature Language="F#" Value="static member op_Implicit : System.Activities.Variable<'Result> -> System.Activities.Activity<'Result>" Usage="System.Activities.Activity<'Result>.op_Implicit variable" />
<MemberSignature Language="C++ CLI" Value="public:
 static operator System::Activities::Activity<TResult> ^(System::Activities::Variable<TResult> ^ variable);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Activities</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Activities.Activity<TResult></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="variable" Type="System.Activities.Variable<TResult>" />
</Parameters>
<Docs>
<param name="variable">The value for the expression.</param>
<summary>Returns a <see cref="T:System.Activities.Activity`1" /> expression that evaluates to the given <see cref="T:System.Activities.Variable`1" />.</summary>
<returns>A workflow expression that evaluates to the given variable.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="op_Implicit">
<MemberSignature Language="C#" Value="public static implicit operator System.Activities.Activity<TResult> (TResult constValue);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig specialname class System.Activities.Activity`1<!TResult> op_Implicit(!TResult constValue) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Activities.Activity`1.op_Implicit(`0)~System.Activities.Activity{`0}" />
<MemberSignature Language="VB.NET" Value="Public Shared Widening Operator CType (constValue As TResult) As Activity(Of TResult)" />
<MemberSignature Language="F#" Value="static member op_Implicit : 'Result -> System.Activities.Activity<'Result>" Usage="System.Activities.Activity<'Result>.op_Implicit constValue" />
<MemberSignature Language="C++ CLI" Value="public:
 static operator System::Activities::Activity<TResult> ^(TResult constValue);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Activities</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Activities.Activity<TResult></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="constValue" Type="TResult" />
</Parameters>
<Docs>
<param name="constValue">The value used to create the expression.</param>
<summary>Returns a <see cref="T:System.Activities.Activity`1" /> expression that evaluates to the given value.</summary>
<returns>A workflow expression that evaluates to the given value.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Result">
<MemberSignature Language="C#" Value="public System.Activities.OutArgument<TResult> Result { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Activities.OutArgument`1<!TResult> Result" />
<MemberSignature Language="DocId" Value="P:System.Activities.Activity`1.Result" />
<MemberSignature Language="VB.NET" Value="Public Property Result As OutArgument(Of TResult)" />
<MemberSignature Language="F#" Value="member this.Result : System.Activities.OutArgument<'Result> with get, set" Usage="System.Activities.Activity<'Result>.Result" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::Activities::OutArgument<TResult> ^ Result { System::Activities::OutArgument<TResult> ^ get(); void set(System::Activities::OutArgument<TResult> ^ value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Activities</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.DefaultValue(null)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.DefaultValue(null)>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Activities.OutArgument<TResult></ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the result argument for the <see cref="T:System.Activities.Activity`1" />.</summary>
<value>The result argument for the <see cref="T:System.Activities.Activity`1" />.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This property is read-only at runtime. If the value is set at runtime, an <xref:System.InvalidOperationException> is thrown.
]]></format>
</remarks>
</Docs>
</Member>
</Members>
</Type>